#!/bin/bash

request_id=$1
#tac_file="cgi/tac"
tac_file="cgi/tac"
dbname="simgen"
dblogin="root"
dbpasswd="Admin01ME!"

print_usage()
{
   echo "Usage: $0 <request id>"
   echo "Validate IMEI"
}

if [ "x$request_id" == "x" ]; then
   echo "[ERROR] All arguments not available."
   print_usage
   exit 1
fi

cgi/validate_imei.pl $request_id $tac_file $dbname $dblogin $dbpasswd
#./validate_imei.pl $request_id $tac_file $dbname $dblogin $dbpasswd